package com.zynn.service.module.canal.event;

import com.alibaba.otter.canal.protocol.CanalEntry.Entry;
import org.springframework.context.ApplicationEvent;


/**
 * @author jerry-liqi
 *
 * 事件抽象类实现
 */
public abstract class CanalEvent extends ApplicationEvent {


    public CanalEvent(Entry source) {
        super(source);
    }

    public Entry getEntry() {
        return (Entry) source;
    }
}
